package com.linoer.cloud.alo.orderservice.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.linoer.cloud.alo.orderservice.domain.Order;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * @Classname OrderMapper
 * @Description TODO
 * @Date 2021/6/22 5:09 下午
 * @Created by muhenglv
 */
@Mapper
public interface OrderMapper extends BaseMapper<Order> {
    int createOrder(@Param("commodityCode") String commodityCode,
                               @Param("count") int count,
                               @Param("userId") String userId,
                               @Param("money") int money
                               );
}
